package com.prp.db.idao;

import java.util.ArrayList;
import java.util.List;

import com.prp.db.po.SubjectRecommendation;

public interface ISubjectRecommendationDAO {
	public void attachClean(SubjectRecommendation instance);

	public void attachDirty(SubjectRecommendation instance);

	public void delete(SubjectRecommendation persistentInstance);

	public List findAll();

	public List findByClickFreq(Object clickFreq);

	public List findByContent(Object content);

	public List findByExample(SubjectRecommendation instance);

	public SubjectRecommendation findById(java.lang.Integer id);

	public List findByProperty(String propertyName, Object value);

	public List findByCategoryChildId(Object categoryChildId);

	public List findByPublishId(Object id);

	public List findByRecommendEntityId(Object recommendEntityId);

	public List findByReplyNum(Object replyNum);

	public List findBySubjectTitle(Object subjectTitle);

	public List findByWaitingTime(Object waitingTime);

	public List findByKeyword(Object keyword, int start, int amount);

	public SubjectRecommendation merge(SubjectRecommendation detachedInstance);

	public void save(SubjectRecommendation transientInstance);

}
